package cn.lang.producer;

import cn.lang.security.handler.PreAuthorizeHandler;
import org.springframework.stereotype.Component;

@Component
public class MyHandler implements PreAuthorizeHandler {

    @Override
    public Boolean hasPermission(String  permission){
        System.out.println(111111);
        return Boolean.FALSE;
    }
}
